/*******************************************************************************
 * Copyright (c) 2012 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

function check(id)
{
	switch (id)
	{
	case 1:
		document.getElementById("img1").src="images/nav_a1.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;
	case 2:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b1.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;
	case 3:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c1.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;
	case 4:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d1.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;
	case 5:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e1.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;
	case 6:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f1.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;
	case 7:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g1.gif";
		document.getElementById("img8").src="images/nav_h.gif";
		break;	
	case 8:
		document.getElementById("img1").src="images/nav_a.gif";
		document.getElementById("img2").src="images/nav_b.gif";
		document.getElementById("img3").src="images/nav_c.gif";
		document.getElementById("img4").src="images/nav_d.gif";
		document.getElementById("img5").src="images/nav_e.gif";
		document.getElementById("img6").src="images/nav_f.gif";
		document.getElementById("img7").src="images/nav_g.gif";
		document.getElementById("img8").src="images/nav_h1.gif";
		break;
	}
}
